package ooday05;

public class EnumTest {
    public static void main(String[] args) {
        System.out.println(Seasons.AUTUMN);
       /* Seasons seasons = Seasons.SPRING;
        switch (seasons){
            case AUTUMN:
                break;
            case SPRING:
                break;
            case SUMMER:
                break;
            case WINTER:
                break;
        }*/
        Seasons[] seasons = Seasons.values();
        for (int i = 0; i < seasons.length; i++) {
            System.out.println(seasons[i]);
        }
    }
}
